﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using NFit.Core.Interfaces;
using NFit.Core.IO;

namespace NFit.Core.Reports
{
    /// <summary>
    /// Report all specs results in one XML file
    /// </summary>
    public class XmlReport : IReportWriter
    {
        private ISpecificationWriter _writer = new XmlSpecificationWriter();

        /// <summary>
        /// The custom writer for the fixtures
        /// </summary>
        public ISpecificationWriter Writer
        {
            get { return _writer; }
            set {}
        }

        /// <summary>
        /// Make the report for the associated summary
        /// </summary>
        /// <param name="summary"></param>
        public void Report(ExecutionSummary summary)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// Write the given specification and all its childs
        /// </summary>
        /// <param name="spec"></param>
        public void WriteSpec(SpecificationDefinition spec)
        {
            throw new NotImplementedException();
        }
    }
}
